<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        {:build_toolbar('refresh')}
                         <a href="javascript:;" class="btn btn-danger btn-excel
                        {:$auth->check('finance/wageslist/import')?'':'hide'}" title="{:__('Import')}" ><i class="glyphicon glyphicon-import icon-share"></i> {:__('Import')}</a>
                        <a href="javascript:;" class="btn btn-danger btn-generate_tax
                        {:$auth->check('finance/wageslist/excel')?'':'hide'}" title="{:__('导出')}" ><i class="glyphicon glyphicon-export icon-share"></i> {:__('导出')}</a>
                        <a href="javascript:;" class="btn btn-success btn-generate   {:$auth->check('finance/wageslist/send')?'':'hide'}" title="{:__('通知')}" ><i class="fa fa-sticky-note"></i> {:__('通知')}</a>
                        
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('finance/wageslist/edit')}" 
                           data-operate-del="{:$auth->check('finance/wageslist/del')}" 
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>

<script id="customformtpl" type="text/html">
    <!--form表单必须添加form-commsearch这个类-->
    <form action="" class="form-horizontal form-commonsearch nice-validator n-default n-bootstrap">
        <fieldset>
              <div class="row">

               <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                <label for="department" class="control-label col-xs-4">所属部门</label>
                <div class="col-xs-8">
                 <input type="hidden" class="form-control operate" name="department-operate" data-name="department" value="FIND_IN_SET" readonly="" />
                 <select class="form-control"  id="department" name="department">
                     <option value="">选择</option>
                     {foreach name="groupdata" item="vo"}
                            <option value="{$key}" {in name="key" value="" }selected{/in}>{$vo}</option>
                      {/foreach}
                 </select>
                </div>
               </div>

               <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                <div class="col-sm-8 col-xs-offset-4">
                 <button type="submit" class="btn btn-success" formnovalidate="">提交</button>
                 <button type="reset" class="btn btn-default">重置</button>
                </div>
               </div>
              </div>
        </fieldset>
    </form>
</script>
